package com.wsm.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wsm.common.domain.TaskDO;

import java.util.List;
import java.util.Map;

/**
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2017-10-03 15:45:42
 */
public interface TaskDao extends BaseMapper<TaskDO> {

	TaskDO get(Long id);

	List<TaskDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(TaskDO task);

	int orUpdate(TaskDO task);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
